projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe09565
)
(choose_write_coding_system): Use LF for end-of-line
author
Kenichi Handa
<handa@m17n.org>
Wed, 16 Aug 2006 00:20:09 +0000
(
00:20
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 16 Aug 2006 00:20:09 +0000
(
00:20
+0000)
in auto-saving.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index d26b28087263fcdbcbed0172795ecd29cf449047..4a39e7ffa192984f3c401cb363e4cf17f91dd803 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-4845,6
+4845,8
@@
choose_write_coding_system (start, end, filename,
/* ... but with the special flag to indicate not to strip off
leading code of eight-bit-control chars. */
coding->flags = 1;
+ /* We force LF for end-of-line because that is faster. */
+ coding->eol_type = CODING_EOL_LF;
goto done_setup_coding;
}
else if (!NILP (Vcoding_system_for_write))